package com.bcinfo.iccard.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bcinfo.iccard.model.ToMerchantComboCardTotalEarnings;

public interface ToMerchantComboCardTotalEarningsMapper
{
    int deleteByPrimaryKey(Long totalEarningsId);

    int insert(ToMerchantComboCardTotalEarnings record);

    int insertSelective(ToMerchantComboCardTotalEarnings record);

    ToMerchantComboCardTotalEarnings selectByPrimaryKey(Long totalEarningsId);

    int updateByPrimaryKeySelective(ToMerchantComboCardTotalEarnings record);

    int updateByPrimaryKey(ToMerchantComboCardTotalEarnings record);

    int getLastSelectTotalNum();

    List<ToMerchantComboCardTotalEarnings> selectByMerchant(@Param("merchantCode") String sellerCode,
            @Param("firstIndex") int i, @Param("maxRows") int pageSize);
}